<extend name="Layout:layout_content" />
<block name="body_main">
    <div class="grid-parent xsui-page-header">
        <div class="grid-60 mobile-grid-100 grid-parent">
            <a href="{:U('invoicing_out_edit','store_id='.$search['store_id'].'&product_id='.$search['product_id'])}" class="xsui-btn ui-state-default xsui-lnk-add-dialog"><i class="fa fa-plus"></i>新增出库</a>
            <a href="{:U('invoicing_in_edit','store_id='.$search['store_id'].'&product_id='.$search['product_id'])}" class="xsui-btn ui-state-default xsui-lnk-add-dialog"><i class="fa fa-plus"></i>新增入库</a>
            <a href="#" class="xsui-btn ui-state-default xsui-lnk-refresh"><i class="fa fa-refresh"></i>刷新</a>
        </div>
        <div class="grid-40 mobile-grid-100 grid-parent xsui-text-right">
            <a href="#" class="xsui-btn ui-state-default xsui-lnk-refresh"><i class="fa fa-refresh"></i>刷新</a>
            <span class="xsui-input-group">
                <form method="get">
                    <input type="text" name="search_key" value="{$search.search_key}" placeholder="标题" />
                    <input type="hidden" name="store_id" value="{$search.store_id}" />
                    <button type="submit" class="ui-state-default"><i class="fa fa-search"></i>搜索</button>
                </form>
            </span>
        </div>
    </div>
    <div id="grid-container">
        {$content}
    </div>
</block>